<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>Flirt - a Flash&#153; Runtime</title>
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <meta name="description" content="Flirt is an open source, extensible Flash&#153; runtime" />
    <meta name="keywords" CONTENT="Flirt, Flash, runtime, player, open source, GPL">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  </head>

<body>

<div class="title">
Flirt
</div>

<div class="subtitle">
an open source extensible Flash&#153; runtime
</div>

<div class="hr"></div>

<div class="sidebar">

	<div class="sidebarbox">
	<a class="sidebarlink" href="index.html">About</a><br>
	<a class="sidebarlink" href="render.html">Rendering</a><br>
	Actionscript<br>
	<a class="sidebarlink" href="example.html">Example</a><br>
	<a class="sidebarlink" href="extensions.html">Extension API</a><br>
	<a class="sidebarlink" href="osx.html">OS X</a><br>
	<a class="sidebarlink" href="bugs.html">Bugs</a><br>
	<a class="sidebarlink" href="future.html">Future Directions</a><br>
	</div>

<br>

	<div class="sidebarbox">
	<a class="sidebarlink" href="http://prdownloads.sourceforge.net/flirt/flirt-20040823.tgz?download">Download source</a><br>
	</div>

<br>

	<div class="sidebarbox">
	<a class="sidebarlink" href="mailto:dave@opaque.net?Subject=Flirt">Contact</a><br>
	<br>
	<a class="sidebarlink" href="http://lists.sourceforge.net/lists/listinfo/flirt-devel">Mailing list</a><br>
	<br>
	<a class="sidebarlink" href="http://sourceforge.net/projects/flirt">SourceForge project page</a><br>
	<br>
	<A href="http://sourceforge.net">
	<IMG src="http://sourceforge.net/sflogo.php?group_id=18365&amp;type=1" width="88" height="31" border="0" alt="SourceForge Logo">
	</A>
	</div>

</div>

<div class="content">

<h3>Actionscript</h3>

<p>Most opcodes are available up to SWF v6, but the current actionscript implementation is far from complete. Only the following objects and methods are currently implemented:</p>

<ul>
<p><b>Array</b>:
concat
join
pop
push
reverse
shift
slice
sort
splice
toString
unshift
</p>

<p><b>Color</b>:
getRGB
getTransform
setRGB
setTransform
</p>

<p><b>Key</b>:
addListener
getAscii
getCode
isDown
isToggled
removeListener
</p>

<p><b>Math</b>:
abs
acos
asin
atan
atan2
ceil
cos
exp
floor
log
max
min
pow
random
round
sin
sqrt
tan
</p>

<p><b>MovieClip</b>:
attachMovie
createEmptyMovieClip
duplicateMovieClip
getBounds
getBytesLoaded
getBytesTotal
globalToLocal
gotoAndPlay
gotoAndStop
hitTest
localToGlobal
nextFrame
play
prevFrame
removeMovieClip
startDrag
stop
stopDrag
swapDepths
toString
unloadMovie
</p>

<p><b>Object</b>:
registerClass
</p>

<p><b>String</b>:
charAt
charCodeAt
concat
fromCharCode
indexOf
lastIndexOf
slice
split
split
substr
substring
toLowerCase
toUpperCase
</p>
</ul>

<p>The <a href="extensions.html">extension API</a> is now available, allowing you to build custom items in C code.</p>

<div class="hr"></div>

    <div class="footnote">
    <b>All content copyright (C) 2004 Dave Hayden except where noted otherwise.</b>
    <br>
    <b>Macromedia and Flash are registered trademarks of Macromedia, Inc. in the United States and/or other countries.</b>
    </div>

<br>

</div>

</body>
</html>
